
// classing using style "this.member = value" inside function (constructors) bodies

function normal_fun1() {}

var normal_fun2 = function(arg) {
   return arg;
}


function Class_1(myId, myName) {
   this.number = 1;
   this.id = myId;
   this.name = myName;

   function Class_1_inner_1() {
      this.inner = true
   }
}


var Class_2 = function(id) {
   this.number = 2;
   this.config = {}
   this.id = id;

   this.getId = function() {
      return this.id;
   }
}

